<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>深圳市深绿帅农业科技有限公司</title>
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/index.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.2/css/swiper.min.css">
</head>

<body>
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <!-- <volist name="data" id="vo"> -->
            <div class="swiper-slide page1">
                <div class="bg_img" style="background-image: url(../images/background1.jpg)">
                </div>
            </div>
            <!-- </volist> -->
            <!-- <div class="swiper-slide"></div>
        <div class="swiper-slide"></div> -->
        </div>
        <div class="fix">
            <div class="logo">
                <img src="../images/logo.png" alt="">
            </div>
            <div class="polygon">
                <a class="abstract abstract1" href="/index.php/Home/Brief/index">
                </a>
                <a class="abstract abstract2" href="/index.php/Home/Journalism/index">
                </a>
                <a class="abstract abstract3" href="/index.php/Home/Prodisr/index">
                </a>
                <a class="abstract abstract4" href="/index.php/Home/Contact/index">
                </a>
                <a class="abstract abstract5" href="/index.php/Home/Prodis/index">
                </a>
            </div>
        </div>
    </div>
    <!--<volist name="data" id="vo">-->

    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.2/js/swiper.min.js"></script>
    <script>
        /*var arr = ["{$vo.photo_path}"];
        var i = 0;
        var all = 2;
        var mySwiper = new Swiper('.swiper-container',{
            direction:'horizontal',
            loop:true,
            autoplay:true,
            on:{
                transitionEnd(){
                    if(i<all){
                        $('.bg_img').css('background-image','url('+arr[i]+')');
                        i++;
                    }else{
                        i = 0;
                    }
                },
                transitionEnd(){
                    if(i<all){
                        $('.bg_img').css('background-image','url('+arr[i]+')');
                        i++;
                    }else{
                        i = 0;
                    }
                }
            }

        })*/

        //                $('.bg_img').css('background-image','{$vo.photo_path}');
        var mySwiper = new Swiper('.swiper-container', {
            direction: 'horizontal',
            loop: true,
            autoplay: true,
        })
    </script>
    <!--</volist>-->

</body>


</html>